package com.example.shoppingmallspringboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("orders_detail")
public class OrdersDetail {
  @TableId(type = IdType.AUTO)
  private Integer id;
  private Integer ordersId;
  private Integer goodsId;
  private Integer quantity;
  private double unitPrice;



}
